package com.octopus.optiworks.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table
public class Step160Data implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private Long id;
	
	private String testLightCode;
	
	private String testLightPowerCode;
	
	private Product product;
	
	private String tilPdl;
	
	private String rillPdl;
	
	private String rilrPdl;

	private String operator;
	
	private Date date;
	
	private String testResult;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PRODUCTID")
	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	@Column
	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	@Column
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Column
	public String getTestResult() {
		return testResult;
	}

	public void setTestResult(String testResult) {
		this.testResult = testResult;
	}

	@Column
	public String getTilPdl() {
		return tilPdl;
	}

	public void setTilPdl(String tilPdl) {
		this.tilPdl = tilPdl;
	}

	@Column
	public String getRillPdl() {
		return rillPdl;
	}

	public void setRillPdl(String rillPdl) {
		this.rillPdl = rillPdl;
	}

	@Column
	public String getRilrPdl() {
		return rilrPdl;
	}

	public void setRilrPdl(String rilrPdl) {
		this.rilrPdl = rilrPdl;
	}

	@Column
	public String getTestLightCode() {
		return testLightCode;
	}

	public void setTestLightCode(String testLightCode) {
		this.testLightCode = testLightCode;
	}

	@Column
	public String getTestLightPowerCode() {
		return testLightPowerCode;
	}

	public void setTestLightPowerCode(String testLightPowerCode) {
		this.testLightPowerCode = testLightPowerCode;
	}
	
}
